/*
 * Money.java
 * Team qq 2011
 */
package main.java.backend.com.teamqq.timetrail;
/**
 * class that represents the item money in the inventory
 * ironically money has no value, and an almost infinite amount can be held
 * @author Steven
 * @version 1.0
 *
 */
public class Money extends Item {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3060L;

	/** The weight of one Dollar*/
	private static final int MONEY_WEIGHT = 0; 

	/** money is worthless*/
	private static final int MONEY_VALUE = 0;

	/** max amount of money an inventory can have*/
	private static final int MONEY_MAX = Integer.MAX_VALUE;

	/** Money's name*/
	private static final String MONEY_NAME = "Money";

	/**
	 * Getter for Money's weight
	 * @return the weight of one Dollar
	 */
	@Override
	public int getWeight() {
		return MONEY_WEIGHT;
	}

	/**
	 * Getter for HullPart's base value
	 * @return the base value of money
	 */
	@Override
	public int getValue() {
		return MONEY_VALUE;
	}

	/**
	 * Getter for the maximum allowed money
	 * @return the maximum amount of money allowed in an inventory
	 */
	@Override
	public int getMaxAmount() {
		return MONEY_MAX;
	}

	/**
	 * Getter for Money's name
	 * @return the name for money
	 */
	@Override
	public String getItemName() {
		return MONEY_NAME;
	}

}
